//
//  HSYBaseWebViewController.h
//  HSY
//
//  Created by 陈浩 on 2017/4/5.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYBaseViewController.h"
#import <WebKit/WebKit.h>

@interface HSYBaseWebViewController : HSYBaseViewController<WKUIDelegate, WKNavigationDelegate>

@property(readonly, nonatomic) WKWebView *webView;
@property(readonly, nonatomic) NSURL *URL;

- (instancetype)initWithURL:(NSURL*)pageURL;
- (instancetype)initWithAddress:(NSString *)urlString;

- (instancetype)initWithURL:(NSURL*)pageURL title:(NSString *)title;
- (instancetype)initWithAddress:(NSString *)urlString title:(NSString *)title;
- (void)loadURL:(NSURL *)pageURL;

@end
